# alist = [1,"123979",4.92,True]
# print(alist)


# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist[4])

# alist = [1,2,3,4,5,6,7,8,9,10]
# alist[4] = 222
# print(alist)


# alist = [1,2,3,4,5,6,7,8,9,10]
# print(len(alist))

# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist[5])
# print(alist[-5])

# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist[4:8])
# print(alist[1:])
# print(alist[:8])
# print(alist[:])


# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist[::1])
# print(alist[::2])
# print(alist[::4])
# print(alist[::8])


# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist[::-1])
# print(alist[::-2])
# print(alist[::-4])
# print(alist[::-8])


# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist[100:200])

# alist = [1,2,3,4,5,6,7,8,9,10]
# for flag in alist:
#     print(flag)


# alist = [1,2,3,4,5,6,7,8,9,10]
# for flag in alist[3:7]:
#     print(flag)

# alist = [1,2,3,4,5,6,7,8,9,10]
# index = 0
# while index<len(alist):
#     print(alist[index])
#     index+=1

# alist = [1,2,3,4,5,6,7,8,9,10]
# alist.append("尾插的元素")
# print(alist)

# alist = [1,2,3,4,5,6,7,8,9,10]
# alist.insert(4,"任意位置插入")
# print(alist)

# alist = [1,2,3,4,5,6,7,8,9,10]
# print(4 in alist)
# print(14 in alist)

# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist.index(11))

# alist = [1,2,3,4,5,6,7,8,9,10]
# print(alist.pop())

# alist = [1,2,3,4,5,6,7,8,9,10]
# alist.pop()
# print(alist)

# alist = [1,2,3,4,5,6,7,8,9,10]
# alist.pop(3)
# print(alist)

# alist = [1,2,3,4,5,6,7,8,9,10]
# alist.remove(4)
# print(alist)

# alist = [1,2,3]
# blist = [6,7,8]
# print(alist+blist)

alist = [1,2,3]
blist = [6,7,8]
alist.extend(blist)
print(alist)
print(blist)
